<template>
  <i :class="'ri-' + icon"
     aria-hidden="true" />
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import 'remixicon/fonts/remixicon.css'

export default defineComponent({
  name: 'Icon',
  props: {
    icon: {
      type: String,
      required: true,
    },
  },
})
</script>

<style lang="less" scoped>
[class*='ri'] {
  font-size: 16px;
  vertical-align: -1px;
}
</style>
